from appium import webdriver
from time import sleep
import os
class Base():
    def Base(self):
        os.system("adb root")
        cap={
            "platformName":"Android",
            "deviceName":"emulator-5554",
            "noReset":True,
            "appPackages":"com.kongfz.app",
            "appActivity":"com.kongfz.app.mvvm.home.homepage.HomeActivity",
        }
        self.driver=webdriver.Remote("http://127.0.0.1:4723/wd/hub",cap)
        self.driver.implicitly_wait(25)
        sleep(15)
    def Page(self):
        print("页面因素")
    def testcase(self):
        print("页面")
